//
//  zhexianTuView.h
//  sellHouse
//
//  Created by 李 佳伟 on 2018/11/21.
//  Copyright © 2018年 李 佳伟. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "HouseZhexianModel.h"

NS_ASSUME_NONNULL_BEGIN

typedef enum {
    DAIKAN_TYPE  =0,
    SHOCANG_TYPE =1,
    TOUCH_TYPE   =2,
}LINETYPE;

@interface zhexianTuView : UIView

@property (nonatomic, strong) CAShapeLayer *daikanlineChartLayer;
@property (nonatomic, strong) CAShapeLayer *shoucanglineChartLayer;
@property (nonatomic, strong) CAShapeLayer *touchlineChartLayer;
@property (nonatomic,assign) BOOL daikan_show;
@property (nonatomic,assign) BOOL shoucang_show;
@property (nonatomic,assign) BOOL touch_show;
- (void)dravLineWithType:(LINETYPE)type datasource:(NSMutableArray *)list;
#pragma mark 动画
- (void)setanimationWithShapeLayer:(CAShapeLayer*)layer;
- (instancetype)initWithFrame:(CGRect)frame withDatalist:(HouseZhexianModel *)list;
@end

NS_ASSUME_NONNULL_END
